<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .fa{
            width: 500px;
            height: 300px;
            border: 1px solid rebeccapurple;
            margin: 0 auto;
        }
        .son{
            width: 250px;
            height: 150px;
            background: aqua;
            transition: all 2s;
        }
        .fa:hover .son{
            transform: translate(200px,100px);
        }
    </style>
</head>
<body>
    <div class="fa">
        <div class="son"></div>
    </div>
</body>
</html>